runtime.m.preemptoff (field)
20 uses
runtime (current package)
lock_futex.go#L221: if gp != gp.m.g0 && gp.m.preemptoff != "" {
mgc.go#L606: if gp := getg(); gp == mp.g0 || mp.locks > 1 || mp.preemptoff != "" {
mgc.go#L874: getg().m.preemptoff = "gcing"
mgc.go#L900: getg().m.preemptoff = ""
mgc.go#L951: mp.preemptoff = "gcing"
mgc.go#L1001: mp.preemptoff = ""
mgc.go#L1267: gp.m.preemptoff = "GC worker init"
mgc.go#L1269: gp.m.preemptoff = ""
mgcmark.go#L412: if mp := getg().m; mp.locks > 0 || mp.preemptoff != "" {
panic.go#L849: if gp.m.preemptoff != "" {
panic.go#L854: print(gp.m.preemptoff)
panic.go#L1351: if mp.locks != 1 || mp.mallocing != 0 || mp.throwing != throwTypeNone || mp.preemptoff != "" || mp.dying != 0 {
preempt.go#L287: return mp.locks == 0 && mp.mallocing == 0 && mp.preemptoff == "" && mp.p.ptr().status == _Prunning
proc.go#L1260: gp.m.preemptoff = reason.String()
proc.go#L1299: mp.preemptoff = ""
proc.go#L4982: if mp.preemptoff != "" {
proc.go#L5857: print(" mallocing=", mp.mallocing, " throwing=", mp.throwing, " preemptoff=", mp.preemptoff, " locks=", mp.locks, " dying=", mp.dying, " spinning=", mp.spinning, " blocked=", mp.blocked, " lockedg=")
runtime2.go#L554: preemptoff string // if != "", keep curg running on this m
stack.go#L372: if stackNoCache != 0 || thisg.m.p == 0 || thisg.m.preemptoff != "" {
stack.go#L475: if stackNoCache != 0 || gp.m.p == 0 || gp.m.preemptoff != "" {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |